<el-tabs v-model="activeName" @tab-click="handleClick" style="width: 100%;">
    <el-tab-pane label="User" name="first">User</el-tab-pane>
    <el-tab-pane label="Config" name="second">Config</el-tab-pane>
    <el-tab-pane label="Role" name="third">Role</el-tab-pane>
    <el-tab-pane label="Task" name="fourth">Task</el-tab-pane>
</el-tabs>

const activeName = ref('first')
const handleClick = (tab) => {

}